package com.itSession.cn.entity;

import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: ClassInfo
 * @author: hanP
 * @create: 2023-04-07 09:27:28
 */
public class ClassInfo {
	private Integer classId;
	/** 班级 */
    @ApiModelProperty(value = "班级")
	private String className;

	public void setClassId(Integer classId) {
		this.classId = classId;
	}
	
	public Integer getClassId() {
		return this.classId;
	}
	
	public void setClassName(String className) {
		this.className = className;
	}
	
	public String getClassName() {
		return this.className;
	}
	

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        ClassInfo that = (ClassInfo) o;
        return classId.equals(that.classId);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(classId);
    }
    
    @Override
    public String toString() {
        return "ClassInfo{" +
				"classId=" + classId +
						",className='" + className + "'" + 
		                '}';
    }
	
}